<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libsdl</Name>
        <Homepage>http://www.libsdl.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        <Summary>Simple Direct Media Layer</Summary>
        <Description>libsdl is a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer.</Description>
        <Archive sha1sum="0c5f193ced810b0d7ce3ab06d808cbb5eef03a2c" type="targz">http://www.libsdl.org/release/SDL-1.2.15.tar.gz</Archive>
        <BuildDependencies>
            <Dependency versionFrom="1.7.7">DirectFB-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>aalib-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libusb-compat-devel</Dependency>
            <Dependency>libXtst-devel</Dependency>
            <Dependency>libICE-devel</Dependency>
            <Dependency>libXrandr-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>mesa-glu-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">sdl-1.2.14-disable-mmx.patch</Patch>
            <Patch level="0">sdl_x11sym.patch</Patch>
            <Patch level="1">SDL-1.2.14-dont-propagate-lpthread.patch</Patch>
            <Patch level="1">SDL-1.2.14-noproc.patch</Patch>
            <Patch level="1">SDL-1.2.13-rh484362.patch</Patch>
            <Patch level="0">libsdl-1.2.15-sdl-config.patch</Patch>
            <Patch level="0">libsdl-1.2.15-resizing.patch</Patch>
            <Patch level="0">libsdl-1.2.15-joystick.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>libsdl-docs</Name>
        <Summary>libsdl reference documents</Summary>
        <RuntimeDependencies>
            <Dependency>libsdl</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>libsdl</Name>
        <RuntimeDependencies>
            <Dependency versionFrom="1.7.1">DirectFB</Dependency>
            <Dependency>aalib</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
        </Files>
    </Package>

    <Package>
        <Name>libsdl-devel</Name>
        <Summary>Development files for libsdl</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libsdl</Dependency>
            <Dependency versionFrom="1.7.1">DirectFB-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>aalib-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libusb-compat-devel</Dependency>
            <Dependency>libXtst-devel</Dependency>
            <Dependency>libICE-devel</Dependency>
            <Dependency>libXrandr-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/lib32/pkgconfig</Path>
            <Path fileType="library">/usr/lib/libSDLmain.a</Path>
            <Path fileType="data">/usr/share/aclocal</Path>
        </Files>
    </Package>

    <Package>
        <Name>libsdl-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for libsdl</Summary>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency release="current">libsdl</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-12-12</Date>
            <Version>1.2.15</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-02-16</Date>
            <Version>1.2.15</Version>
            <Comment>Rebuild for new toolchain.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-09</Date>
            <Version>1.2.15</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-25</Date>
            <Version>1.2.15</Version>
            <Comment>Release bump</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-27</Date>
            <Version>1.2.15</Version>
            <Comment>First release</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
